package com.panfeng.xcloud.boss.provider.member.web.vo.response;

import com.panfeng.xcloud.boss.provider.member.model.LoginUserInfo;
import com.panfeng.xcloud.dao.assets.entity.UserWalletInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
@ApiModel(value = "登录响应")
public class LoginRespVO {

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("用户名")
    private String nickname;

    @ApiModelProperty("平台币")
    private BigDecimal xdc;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty(value = "token类型")
    private String tokenType;

    @ApiModelProperty(value = "刷新token")
    private String refreshToken;

    @ApiModelProperty(value = "token有效期")
    private Integer expiresIn;

    @ApiModelProperty("用户信息")
    private LoginUserInfo userLoginInfo;

    @ApiModelProperty("用户钱包信息")
    private UserWalletInfo userWalletInfo;

}
